package com.test.qpbgboot.schedule.mapper;

import com.test.qpbgboot.schedule.pojo.dto.EscortScheduleQuery;
import com.test.qpbgboot.schedule.pojo.entity.EscortSchedule;
import com.test.qpbgboot.schedule.pojo.vo.EscortScheduleVO;

import java.util.List;

public interface EscortScheduleMapper {
    List<EscortScheduleVO> selectEscortScheduleVObyEscortScheduleQuery(EscortScheduleQuery escortScheduleQuery);
    Integer selectEnableByEscortScheduleQuery(EscortScheduleQuery eSortScheduleQuery);
    void insert(EscortSchedule escortSchedule);
    void update(EscortSchedule escortSchedule);
    void refreshStatus();//刷新排班表，将过去的已预约改为已工作
    void deleteById(Long id);
}
